﻿@model Pro260Website.Models.ReviewFeedbackInfo

@{
    if (Model.Feedback.Id == 0)
    {
        Layout = null;
    }
}

<h2 class="title @Html.GetColor(Request.Cookies["color"])">@ViewBag.Title</h2>

<div id="titlelessItem">
<div class = "item">
    
    
    @Html.ValidationSummary()

    @using (Html.BeginForm("UpdateFeedback", "Review", FormMethod.Post, null))
    {
        @Html.HiddenFor(x => Model.ReviewId)
        @Html.HiddenFor(x => Model.AccountId)
        @Html.EditorFor(x => Model.Feedback)
        <input type="submit" value="Submit" class="actionButtons @Html.GetColor(Request.Cookies["color"])"/>
        @Html.ActionLink("Cancel", "ReviewList", "Review", new { @class = "actionButtons " + @Html.GetColor(Request.Cookies["color"]) })
    }
    
</div>
</div>